package cn.wolfcode.trip.app.controller;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.domain.StrategyDetail;
import cn.wolfcode.trip.base.query.HotelDictionaryItemQueryObject;
import cn.wolfcode.trip.base.query.StrategyCommentQueryObject;
import cn.wolfcode.trip.base.service.*;
import cn.wolfcode.trip.base.util.JSONResult;
import cn.wolfcode.trip.base.util.QiniuCloudUtil;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@RestController
@RequestMapping("/hotelItems")
public class HotelItemController {
    @Autowired
    private IHotelDictionaryItemService hotelDictionaryItemService;



     /*查询某个城市的商圈/交通枢纽
         动作:GET
         资源:/hotelItems/cities
         参数:
      @return*/

    @GetMapping("/items")
    public Object listBusinesses(HotelDictionaryItemQueryObject qo){
        return hotelDictionaryItemService.listItemByCityId(qo);
    }



}
